from appium.webdriver.common.appiumby import AppiumBy
from AppTest.page.base_page import BasePage


class MainPage(BasePage):

    __BUTTON_WORKBENCH = (AppiumBy.XPATH, "//*[@text='工作台']")

    def ToWorkbench(self):
        self.do_click(self.__BUTTON_WORKBENCH)